#pragma once
#include "ClientInfo.h"
#include "MessageCenter.h"
class ClientListener
{
	//SOCKET ClientSocket;
	ClientInfo* cInfo;
	static MessageCenter* messageCenter;
	
public:	
	ClientListener(ClientInfo*, MessageCenter* mCenter);
	~ClientListener(void);

	int startSocketListener();
private:
	static int listenMessage(SOCKET);
	static void enqueueMessage (char* message);
};
